-
Notifications
You must be signed in to change notification settings - Fork 0
Retries with exponential backoff for doc publishing #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retries with exponential backoff for doc publishing #50
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR improves the reliability of documentation publishing by adding retry logic with exponential backoff to Git operations. The implementation wraps the git push operations in a withRetries utility function that attempts operations up to 3 times with exponentially increasing delays.
- Introduces a reusable
withRetriesutility function with configurable retry parameters (attempts, delays, backoff factor) - Wraps git push operations in retry logic to handle transient network failures
- Bumps project version from 2.0.0-SNAPSHOT.033 to 2.0.0-SNAPSHOT.034
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| buildSrc/src/main/kotlin/io/spine/gradle/git/Repository.kt | Adds withRetries utility function and wraps push() method with retry logic to handle transient git operation failures |
| version.gradle.kts | Updates compiler version to 2.0.0-SNAPSHOT.034 |
| pom.xml | Updates artifact version to 2.0.0-SNAPSHOT.034 |
| dependencies.md | Updates dependency report with new version numbers and regeneration timestamps |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This PR improves the reliability of publishing documentation using retries with exponential backoff.